Miles Sound System SDK 7.2a

DDK Function: 305H Initialize Device

Discussion

Input:

AX = 305H
BX = Driver number
VDI_HDR IO structure contains I/O parameters to use while driver active

Output:

AX = 1: Device successfully initialized
AX = 0: Hardware fault

This function should be called prior to functions 306H through 505H. Its purpose is to perform any hardware initialization tasks not addressed during the I/O validation process of Function 304H.

Function 304H (Verify Device I/O Parameters) must be called prior to this function.

This function may, at the developer's option, initialize panpot controls to their center level and set hardware-based reverberation and other effects to a neutral value. Initialization of these parameters is not necessary in cases where a user-accessible "control panel" is provided with the device.

This function may safely perform DOS or other system-level accesses, if necessary.


Group: DOS Sound Driver Generic Initialization Interface
Related Structures: VDI_HDR

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.